how to find odd number in java